package com.edu.html.vo;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)  
@XmlType(propOrder = { "observer", "content" }) 
public class Detail implements Serializable{
	
	private static final long serialVersionUID = 1L;
	@XmlElement(name="observer")
	private String observer;
	@XmlElement(name="content")
	private String content;
	
	public Detail() {
	}
	public Detail(String pObserver, String pContent) {
		observer = pObserver;
		content = pContent;
	}
	public String getObserver() {
		return observer;
	}
	public void setObserver(String pObserver) {
		observer = pObserver;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String pContent) {
		content = pContent;
	}
	@Override
	public String toString() {
		return "Detail [observer=" + observer + ", content=" + content + "]";
	}
	
}
